package com.wsj.dao;

import org.springframework.dao.DataAccessException;

import com.wsj.web.vo.homeSite.UserBase;

public interface IUserBaseDao {

	/*****8
	 * 通过用户id,获取用户基本对象
	 * @param userId
	 * @return
	 */
	public UserBase getUserBaseById(long userId)throws DataAccessException;

	
	/*****
	 * 通过用户名,获取用户基本对象
	 * @param userName
	 * @return
	 * @throws DataAccessException
	 */
	public UserBase getUserBaseByUserName(String userName)throws DataAccessException;

}
